
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>Dart · x9x</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search-pro/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    
    <link rel="prev" href="nodejs.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    
    
        
        <li>
            <a href="https://gitee.com/x9x/x9x/issues" target="_blank" class="custom-link">提交反馈</a>
        </li>
    
    

    
    <li class="divider"></li>
    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="nodejs.html">
            
                <a href="nodejs.html">
            
                    
                    NodeJS
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.3" data-path="dart.html">
            
                <a href="dart.html">
            
                    
                    Dart
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >Dart</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <ul>
<li>Dart &#x5B98;&#x7F51; = <a href="https://dart.dev/" target="_blank">https://dart.dev/</a></li>
<li>Dart &#x4E2D;&#x6587;&#x7F51; = <a href="https://dart.cn/" target="_blank">https://dart.cn/</a></li>
<li>Flutter &#x5B98;&#x7F51; = <a href="https://flutter.dev/" target="_blank">https://flutter.dev/</a></li>
<li>Flutter &#x4E2D;&#x6587;&#x7F51; = <a href="https://flutter.cn/" target="_blank">https://flutter.cn/</a></li>
<li>Flutter API &#x4E2D;&#x6587;&#x7F51; = <a href="https://api.flutter-io.cn/" target="_blank">https://api.flutter-io.cn/</a></li>
<li>&#x6E05;&#x534E;&#x4E0B;&#x8F7D; Dart = <a href="https://mirrors.tuna.tsinghua.edu.cn/flutter/dart-archive/channels/stable/release/" target="_blank">https://mirrors.tuna.tsinghua.edu.cn/flutter/dart-archive/channels/stable/release/</a></li>
<li>&#x6E05;&#x534E;&#x4E0B;&#x8F7D; Flutter = <a href="https://mirrors.tuna.tsinghua.edu.cn/flutter/flutter_infra_release/releases/stable/linux/" target="_blank">https://mirrors.tuna.tsinghua.edu.cn/flutter/flutter_infra_release/releases/stable/linux/</a></li>
<li>&#x6E05;&#x534E; Dart &#x6E90; = <a href="https://mirrors.tuna.tsinghua.edu.cn/dart-pub" target="_blank">https://mirrors.tuna.tsinghua.edu.cn/dart-pub</a></li>
<li>&#x6E05;&#x534E; Flutter &#x6E90; = <a href="https://mirrors.tuna.tsinghua.edu.cn/flutter" target="_blank">https://mirrors.tuna.tsinghua.edu.cn/flutter</a></li>
<li>Flutter &#x4E2D;&#x6587;&#x7F51; Dart &#x6E90; = <a href="https://pub.flutter-io.cn" target="_blank">https://pub.flutter-io.cn</a></li>
<li>Flutter &#x4E2D;&#x6587;&#x7F51; Flutter &#x6E90; = <a href="https://storage.flutter-io.cn" target="_blank">https://storage.flutter-io.cn</a></li>
</ul>
<h2 id="deepin-202-&#x5B89;&#x88C5;-flutter-204">Deepin 20.2 &#x5B89;&#x88C5; Flutter 2.0.4</h2>
<pre><code class="lang-bash"><span class="hljs-built_in">cd</span> /opt/app
<span class="hljs-comment"># &#x4ECE; Flutter &#x4E2D;&#x6587;&#x7F51;&#x4E0B;&#x8F7D;</span>
wget https://storage.flutter-io.cn/flutter_infra/releases/stable/linux/flutter_linux_2.0.4-stable.tar.xz
tar xf flutter_linux_2.0.4-stable.tar.xz
<span class="hljs-comment"># &#x6DFB;&#x52A0;&#x73AF;&#x5883;&#x53D8;&#x91CF;&#x5230; /etc/bash.bashrc</span>
sudo su
cat &lt;&lt;<span class="hljs-string">&apos;EOF&apos;</span> &gt;&gt;/etc/bash.bashrc
<span class="hljs-built_in">export</span> PATH=<span class="hljs-variable">$PATH</span>:/opt/app/flutter/bin
<span class="hljs-comment"># &#x4F7F;&#x7528; Flutter &#x4E2D;&#x6587;&#x7F51;&#x63D0;&#x4F9B;&#x7684;&#x6E90;</span>
<span class="hljs-built_in">export</span> FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
<span class="hljs-built_in">export</span> PUB_HOSTED_URL=https://pub.flutter-io.cn
EOF
</code></pre>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="nodejs.html" class="navigation navigation-prev navigation-unique" aria-label="Previous page: NodeJS">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"Dart","level":"1.3","depth":1,"previous":{"title":"NodeJS","level":"1.2","depth":1,"path":"content/nodejs.md","ref":"content/nodejs.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-sharing","-lunr","-search","search-pro@2.0.2","splitter@0.0.8","editlink@1.0.2","expandable-chapters-small@0.1.7","sequence@0.1.1","flow@1.1.7","nomnoml@1.0.0","echarts@0.0.17","mermaid-cli@1.0.14"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sequence":{"theme":"simple"},"editlink":{"label":"编辑本页","multilingual":false,"base":"https://gitee.com/x9x/x9x/edit/master/"},"splitter":{},"search-pro":{},"nomnoml":{},"flow":{},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"expandable-chapters-small":{},"echarts":{},"mermaid-cli":{"chromeArgs":["--no-sandbox"],"chromeDir":"","mermaidArgs":""},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"chart":{}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":14,"fontFamily":"Microsoft YaHei","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"INTRODUCTION.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"x9x","language":"zh-hans","links":{"sidebar":{"提交反馈":"https://gitee.com/x9x/x9x/issues"}},"gitbook":"*"},"file":{"path":"content/dart.md","mtime":"2021-04-06T12:51:00.914Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2021-04-06T13:29:49.954Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-editlink/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

